package com.happyass.service;

import com.happyass.common.entity.ResultEntity;
import com.happyass.pojo.User;
import org.springframework.data.domain.Page;

import java.text.ParseException;
import java.util.HashMap;
import java.util.List;

public interface UserService {
    List<User> selectAll();

    HashMap<String, Object> insertUser(User user,String userArr) throws ParseException;

    User selectById(Integer userId);

    boolean edit(User user);

    boolean del(Integer userId);

    Boolean editStatus(Integer userId, Integer userStatus);

    boolean delAll(String userIds);

    Page<User> selectAllUser(Integer page, Integer row);


//    ResultEntity<User> insertUser(User user);
}
